home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
HAM Radio 1997
/
HAM Radio 1997.iso
/
vcls
/
cltsvr
/
fileput.pas
< prev
next >
Wrap
Pascal/Delphi Source File
|
1996-04-08
|
1KB
|
55 lines
unit Fileput;
interface
uses WinTypes, WinProcs, Classes, Graphics, Forms, Controls, Buttons,
StdCtrls, ExtCtrls, Dialogs;
type
TPutDLG = class(TForm)
Bevel1: TBevel;
OKBtn: TBitBtn;
CancelBtn: TBitBtn;
Label1: TLabel;
FileName: TEdit;
GroupBox1: TGroupBox;
rbASCII: TRadioButton;
rbBINARY: TRadioButton;
rbEBCDIC: TRadioButton;
Label2: TLabel;
RemoteName: TEdit;
Browse: TButton;
OpenDialog1: TOpenDialog;
procedure FormCreate(Sender: TObject);
procedure BrowseClick(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
end;
var
PutDLG: TPutDLG;
implementation
{$R *.DFM}
procedure TPutDLG.FormCreate(Sender: TObject);
begin
rbASCII.Checked := True;
end;
procedure TPutDLG.BrowseClick(Sender: TObject);
begin
OpenDialog1.Options := [ofFileMustExist];
OpenDialog1.Filter := 'All files (*.*)|*.*';
if OpenDialog1.Execute then
begin
FileName.Text := OpenDialog1.Filename;
RemoteName.SetFocus;
end;
end;
end.